package com.zline.foodraise.entity;

import java.util.List;

/**
 * Created by heshantao on 15/7/22.
 * 商品
 */
public class ProductBean {
    //购买此商品的用户数
    int customerCount;
    //商品描述
    String description;
    //商品详情图片URl
    String detailPicUrl;
    //最新购买商品的前3个用户
    List<CustomerUserBean> fnCustomerUserBeanList;
    //商品规格中最低价格
    double minPrice;
    //商品图片列表
    List<PictureBean> pictureBeanList;
    //商品属性列表
    List<ProductAttrBean> productAttrBeanList;
    //商品种类Id
    long productCategoryId;
    //商品Id
    long productId;
    //商品名
    String productName;
    //商品必杀技列表
    List<ProductSkillBean> productSkillBeanList;
    //商品一句话描述
    String productSummary;
    //项目Id
    long projectId;
    //店铺Id
    long shopId;
    //排序值
    int showOrder;
    //状态：1众筹中，2已成功，3已过期
    int status;
    //用户
    UserBean userBean;
    //用户Id
    long userId;
    //商品销量
    int sales;

    public ProductBean() {
    }

    public ProductBean(int customerCount, String description, String detailPicUrl,
                       List<CustomerUserBean> fnCustomerUserBeanList,
                       double minPrice, List<PictureBean> pictureBeanList,
                       List<ProductAttrBean> productAttrBeanList,
                       long productCategoryId, long productId, String productName,
                       List<ProductSkillBean> productSkillBeanList, String productSummary,
                       long projectId, long shopId, int showOrder,
                       int status, UserBean userBean, long userId,int sales) {
        this.customerCount = customerCount;
        this.description = description;
        this.detailPicUrl = detailPicUrl;
        this.fnCustomerUserBeanList = fnCustomerUserBeanList;
        this.minPrice = minPrice;
        this.pictureBeanList = pictureBeanList;
        this.productAttrBeanList = productAttrBeanList;
        this.productCategoryId = productCategoryId;
        this.productId = productId;
        this.productName = productName;
        this.productSkillBeanList = productSkillBeanList;
        this.productSummary = productSummary;
        this.projectId = projectId;
        this.shopId = shopId;
        this.showOrder = showOrder;
        this.status = status;
        this.userBean = userBean;
        this.userId = userId;
        this.sales=sales;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDetailPicUrl() {
        return detailPicUrl;
    }

    public void setDetailPicUrl(String detailPicUrl) {
        this.detailPicUrl = detailPicUrl;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public int getCustomerCount() {
        return customerCount;
    }

    public void setCustomerCount(int customerCount) {
        this.customerCount = customerCount;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getShowOrder() {
        return showOrder;
    }

    public void setShowOrder(int showOrder) {
        this.showOrder = showOrder;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public String getProductSummary() {
        return productSummary;
    }

    public void setProductSummary(String productSummary) {
        this.productSummary = productSummary;
    }

    public List<ProductSkillBean> getProductSkillBeanList() {
        return productSkillBeanList;
    }

    public void setProductSkillBeanList(List<ProductSkillBean> productSkillBeanList) {
        this.productSkillBeanList = productSkillBeanList;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public List<ProductAttrBean> getProductAttrBeanList() {
        return productAttrBeanList;
    }

    public void setProductAttrBeanList(List<ProductAttrBean> productAttrBeanList) {
        this.productAttrBeanList = productAttrBeanList;
    }

    public long getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(long productCategoryId) {
        this.productCategoryId = productCategoryId;
    }

    public List<PictureBean> getPictureBeanList() {
        return pictureBeanList;
    }

    public void setPictureBeanList(List<PictureBean> pictureBeanList) {
        this.pictureBeanList = pictureBeanList;
    }

    public double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(double minPrice) {
        this.minPrice = minPrice;
    }

    public List<CustomerUserBean> getFnCustomerUserBeanList() {
        return fnCustomerUserBeanList;
    }

    public void setFnCustomerUserBeanList(List<CustomerUserBean> fnCustomerUserBeanList) {
        this.fnCustomerUserBeanList = fnCustomerUserBeanList;
    }
}
